
<h1>Authentification</h1>

<?php $attributes = array('class' => 'login', 'id' => 'login');
echo form_open('Authentification', $attributes); ?>
  
  <div class="identifiant">
    <?=  form_label('Identifiant');
    echo form_input('login',set_value('login'),'placeholder="Exemple : user@cesi.fr" class="inputText" tabindex="1"');
    echo form_error('login','<div class="errorText">','</div>');
    echo form_submit($attributes, 'Connexion à votre espace','tabindex="3"');
    ?>
  </div>
 
  <div class="motdepasse">
    <?=  form_label('Mot de passe');
    echo form_password('password',set_value('password'),'placeholder="Exemple : .... ;-)"  class="inputText" tabindex="2"');
    echo form_error('password','<div class="errorText">','</div>');
    echo form_button('Password', 'Mot de passe oublié','OnClick="window.location.href=\'Oubli_mot_de_passe\'"')
    ?>
  </div>
    <?php 
     echo form_close(); ?>